<template>
  <el-radio-group v-bind="props.props" v-model="modelValue">
    <el-radio v-for="option in props.options" :value="option.value" :label="option.label" />
  </el-radio-group>
</template>

<script setup lang="ts">
import type { MerakXFormItemRadio, MerakXFormItemOptions } from "../index";

import { ElRadioGroup, ElRadio } from "element-plus";

const props = defineProps<MerakXFormItemRadio & MerakXFormItemOptions>();

const modelValue = defineModel<any>("value");
</script>
